#include<stdio.h>
struct student
{
    int num;
    char name[20];
    char sex;
    int age;
    
};
 struct student stu[3]={{10101,"LiLin",'M',10},
                        {10102,"ZhangFang",'M',19},
                        {10104,"Wang Min",'F',20}};
int main()
{
    struct student *p;
    printf("No    Name                 sex age\n");
    for(p=stu;p<stu+3;p++)
    printf("%5d %-20s %2c %4d\n",p->num,p->name,p->sex,p->age);
    return 0;
}
